getID() != 0 ) $currentuser->removeCookie(); session_destroy(); header('Location: index.php'); exit();