added routes for search.