decorated the wallet with persistent storage (using localStorage)