<?php require_once __DIR__.'/auth.php'; if (user()) { header('Location: dashboard.php'); exit; } header('Location: login.php');
