Write comments in class AdminController.php