Protecting the search page for logged in users only