UPDATED working on unit testing for the login service.