add logic in UserController