use localforage for abstracted key storage