adding changes to search results page, search bar now also works