<?php
    session_start
();
    
session_destroy();
    
header('Location: index.php?page=login');
    exit;
?>