Added search function on search results page