sets up the search results page