Update loginController to set id in UserService.