Updated UserController, fixed error.