public function logout() { $user = new admins(); $user->logout(); header("Location: " . SITE_URL . "/admin"); }