user->loggedIn) { $app->redirect('index.php'); } $app->view('template/header', ["title" => "Bekreft avlogging"]); $app->view('confirm-logout'); $app->view('template/footer');