add method in UserController