add documentation on UserController.php