Setup db to save each user query
Update terms to reflect data storage and remove excess console logging