<?php include "auth.php"; $auth = new Auth(); if ($auth->authenticated() == false) header("location: login.php"); $auth->logout(); header("location: login.php"); ?>