A service to manage current user information and authentication in AngularJS