Add autocomplete functionality