get search data to return to search page
search working from home page