<?php
// logout.php - Handle logout
require_once __DIR__ . '/../src/Database.php';
require_once __DIR__ . '/../src/Auth.php';

$auth = new Auth();
$auth->logout();

// Redirect to login
header('Location: /ussd/admin/login.php');
exit;
