#10 - save reference to logged in user in $rootScope in login method for global usage.