@Override
 public UnifiedUser add(String username, String password, String ip) {
   UnifiedUser unifiedUser = new UnifiedUser(ip, pwdEncoder.encodePassword(password), username);
   unifiedUser.init();
   unifiedUser.setId(dao.add(unifiedUser));
   return unifiedUser;
 }
 @Override
 public UnifiedUser add(String username, String ip) {
   UnifiedUser unifiedUser = new UnifiedUser(ip, null, username);
   unifiedUser.init();
   unifiedUser.setId(dao.add(unifiedUser));
   return unifiedUser;
 }