LoginService and tests added