public function logout(AdminUser $admin) { $admin->logout(); header("Location: " . LinkController::getBaseURL() . "/admin"); }