Refactored userInfo.js into several pieces
Refactored userInfo.js