finishing the search page