<?session_start();

if(@$_SESSION["username"]!="")//check session, if exists, ok
{

echo "I like tea";?>

<a href="index.php">Back to home</a>

<?




}
else
{
echo "Oi, stop trying to beat the system";
}
?>