Id() {         String userCrn = ThreadBasedUserCrnProvider.getUserCrn();         Crn crn = null;         try {             crn = Crn.fromString(userCrn);         } catch (NullPointerException e) {             LOGGER.warn("Crn is not set", e);             throw new CrnParseException("CRN is not set");         }         if (crn != null) {             