Welcome to the demo'; // echo '
'; header('Location: auth.php'); exit; } // The user is logged in – display the attributes $name = $_SESSION['name'] ?? 'unknown'; $email = $_SESSION['email'] ?? 'unknown'; $groups = $_SESSION['groups'] ?? []; if ($debug_output) { echo '