added search input and method to route to search URL