public function indexAction() { $fc = FrontController::getInstance(); $view = new LoginModel(); $out = $view->showLoginPage(); $view->status = $fc->status; $fc->setBody($out); }