mv searchHubs method from HubResource to SearchResource