added helpers and components to AppController.php