added search functionality with Ajax autocomplete