Added search functionality to search results