Added log for each search.
write log for each search
added autocomplete

needed to add configuration
update autocomplete - much simpler