<?php session_start(); session_destroy(); if (file_exists(__DIR__ . '/tmp/token.json')) { unlink(__DIR__ . '/tmp/token.json'); } header('Location: index.php'); ?>