"; header("Location: home.php"); exit; } else { $_SESSION["message"] = "Could not connect as {$user}"; header("Location: logout.php"); exit; } ?>