search bar working and displaying search results on page