if (!user.isPersisted()) {
user.setCreatedAt(new Date(System.currentTimeMillis()));
}
entityDao.saveOrUpdate(user);
} catch (DataIntegrityViolationException e) {
throw new EntityExistException("User already exits:" + user);
} catch (Exception e) {
throw new EntityExistException("User already exits:" + user);
}
}