remoteUser = UserFactory.lookupByLogin(remoteUserString);
if (remoteUser.isDisabled()) {
createErrorMessage(request, "account.user.disabled", remoteUserString);
remoteUser = null;
}
<BUG>else {
UpdateUserCommand updateCmd = new UpdateUserCommand(remoteUser);</BUG>
updateCmd.setFirstNames(firstname);
updateCmd.setLastName(lastname);
updateCmd.setEmail(email);

remoteUser = UserFactory.lookupByLogin(remoteUserString);
if (remoteUser.isDisabled()) {
createErrorMessage(request, "account.user.disabled", remoteUserString);
remoteUser = null;
}
else if (!remoteUser.getOrg().getId().equals(defaultOrgId)) {
createErrorMessage(request, "account.user.wrong_org", remoteUserString);
remoteUser = null;
}
if (remoteUser != null) {
UpdateUserCommand updateCmd = new UpdateUserCommand(remoteUser);
updateCmd.setFirstNames(firstname);
updateCmd.setLastName(lastname);
updateCmd.setEmail(email);
