make the search restful
use the new paths