<?php
session_start();
if($_SESSION["login"] === true){
echo($_SESSION["uid"] . " - ");
echo("<a href='/logout'>logout</a>");
echo(" - <a href='/config'>config</a>'");
}
else{
header("Location: /login"); die();
?>
<html>
<h1>Config</h1>
</html>