Added main page
Removed Controller::beforeAction()