findUser($_SESSION["user_email"] ?? ""); if (!$user) { $_SESSION = []; session_destroy(); header("Location: index.php?pfad=login"); exit(); }