adding autocomplete functionality to search widget