try {
log.debug("user newUsername " + username);
log.debug("user newEmailUser " + email);
final Integer userUnconfirmed = getSecurityService().retrieveListUserUnconfirmedByAccount();
if (userUnconfirmed >= unconfirmedAccountsLimit) {
throw new EnMeExpcetion(getMessage("unconfirmed_limit", request, null));
}
final UserAccountBean userBean = new UserAccountBean();
userBean.setEmail(email);
userBean.setUsername(username);
// get the current user logged