function run() { $this->initTYPO3(); $feSession = new FESession(); if ($feSession->isLoggedIn()) { $this->initTimeTracking(); $content = $this->renderTimeTracking(); } elseif ($feSession->isLoginAttempt()) { $content = $feSession->tryToLogin(); } else { $content = $feSession->showLoginForm(); //$this->initTimeTracking(); //$content = $this->renderTimeTracking(); } return $content; }