delete($_SESSION['username']); session_destroy(); header("Location: /"); exit;