Added changeLayout() in Controller.php