<?php
require_once __DIR__ . '/includes/functions.php';
startSecureSession();

session_unset();
session_destroy();
setcookie('remember_token', '', time() - 3600, '/');

header('Location: login.php');
exit;
