docs: protected void initAcceptData() {
  
          // read the current users agreement values
          CmsUser user = getCms().getRequestContext().getCurrentUser();
          String result = (String)user.getAdditionalInfo(CmsUserSettings.LOGIN_USERAGREEMENT_ACCEPTED);
          if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(result)) {
              // read JSON data structure that is stored in the user additional info
              try {
                  JSONObject jsonData = new JSONObject(result);
                  m_acceptedVersion = jsonData.getDouble(KEY_ACCEPTED_VERSION);
                  m_acceptedCount = jsonData.getInt(KEY_ACCEPTED_COUNT);
              } catch (JSONException e) {
                  LOG.error(e);
              }
          }
      }