new changes in FrontController.php
added new changes