fixed syntax error in UserController