if (newUser) {
user = new JCUser(authInfo.get("username"), authInfo.get("email"), passwordHash);
user.setRegistrationDate(new DateTime());
user.setAutosubscribe(DEFAULT_AUTOSUBSCRIBE);
user.setSendPmNotification(DEFAULT_SEND_PM_NOTIFICATION);
User commonUser = this.getDao().getCommonUserByUsername(authInfo.get("username"));
if (commonUser != null) {
copyFieldsFromUserToJCUser(commonUser, user);
// user already exist in database (poulpe uses the same database),
// we need to delete common User and create JCUser
try {