refactored user model, homepage controller and nav bar controller to place  in appropriate place, plus add semi colons
Merge pull request #47 from makersquare/controller-fix

refactored user model, homepage controller and nav bar controller to pla...