<?php
require_once __DIR__ . '/includes/config.php';
require_once __DIR__ . '/includes/auth.php';

logoutUser();

setFlash('success', 'You have been logged out successfully.');

redirect(SITE_URL . '/login.php');