code: function getUserData() {
     let userData = localStorage.getItem(LOCAL_STORAGE_ID);
     if (userData === null) {
        userData = '{}';
     }
  
     userData = JSON.parse(userData);
     return userData;
  }
docs: /*
  Get local storage object for Blockstack
  Throws on error