connecting search widget to search backend