set up to read from a local storage if possible to hold sessions as long as possible