Restricting access to the search pages