use localforage over defer to get data from lf