updateLoginDetails('Logout'); Portal_Session::destroy(); header('Location: index.php'); } }