Add test on authentication controller
Refactor user service to use deferred object