Updated AdminPanelController.