Getting the login service working