anchor.diff:          client = new UserProfileCient(cookie,
                   backendServerURL, configContext);
           readOnlyUserStore = client.isReadOnlyUserStore();
  -     	profiles = client.getUserProfiles(username);
  +        profiles = client.getUserProfiles(username);
  +
  +        if (profiles != null && profiles.length > 0) {
  +            for (int i = 0; i < profiles.length; i++) {
  +                userFields = client.getOrderedUserFields(profiles[i].getFieldValues());
  +                if (userFields != null && userFields.length > 0) {
  +                    for (int j = 0; j < userFields.length; j++) {
  +                        if ((ACCOUNT_DISABLED_CLAIM_URI.equals(userFields[j].getClaimUri()))) {
  +                            String claimValue = userFields[j].getFieldValue();
  +                            System.out.println(claimValue);
  +                            if (Boolean.parseBoolean(claimValue)) {
  +                                accountDisabled = true;
  +                                break;
  +                            }
  +                        }
  +                    }
  +                }
  +
  +            }
  +        }
   
   
           //read the domain of the user
  
positive.code:             </script>
              <% if(!readOnlyUserStore) {%>
              <div style="height:30px;">
                  <%if (multipleProfilesEnabled) {%>
                  <a href="javascript:document.location.href='<%=Encode.forJavaScript(addAction)%>'" class="icon-link"
                     style="background-image:url(../admin/images/add.gif);"><fmt:message
                          key='add.new.profiles'/></a>
  
negative.code:     String editCancel = request.getParameter("editCancel");
      UserRealmInfo userRealmInfo = null;
      boolean multipleProfilesEnabled = false;
      UserFieldDTO[] userFields = null;
      boolean accountDisabled = false;
  
      if (username == null) {
          username = (String) request.getSession().getAttribute("logged-user");
  