Adds working autocomplete api call