<?phpif (is_user()) {setcookie('username', '', time()-1, '/'); setcookie('password', '', time()-1, '/'); session_destroy(); header('Location: /');}else {header('Location: /');}?>