updated views\layouts\main.php and frontend\FrontendController.php