<?php require_once __DIR__ . '/autoload.php'; $logout = new UsersController(); $logout->logOut(); header('Location: /index.php'); exit;