initializing autosuggest + endpoint.