updating the UserController