Added routes for search and candidate