fix logout in search.php