added comments to adminPageController.php