fix a wrong search query (routes.title -> routes.name)
change to use http client
replace a Client instance with BasicClient