UPDATED working on unit tests for the login service.