added tracking of word search and log words not in the db