Store use date in IndexedDB

Mechanismus added to store data in the indexedDB of the browser.