Logging in through service working