Initial specification for Offline Storage

Initial proposal for offline authentication written by me and @passos