refactor explore to search in routes and ui