adding localforage