Hey thanks for the replies, what I ment was, the 2 layers in question, i need 1 to appear if the user is logged in and the other if he is logged out.
<?php
session_start();
//Connect to database
include("../design/databaseConnection/dbConnection.php");
if ($_SESSION['loggedIn'] != NULL){
echo "logged in!";
echo $_SESSION['loggedIn'];
} else
{
echo "Logged out :(";
}
?>