session checking with category.php & search.php