added search via api and jquery autocomplete