Updated UserController.php