routes for search functionality