docs: public static Credentials getUserByEmail(DAO serverDao, String email) throws DAO.DAOException {
          Query query = new QueryBuilder()
                  .select()
                  .from(Credentials.class)
                  .where(Credentials.EMAIL_KEY, OPERAND.EQ,email)
                  .build();
  
          TransientObject to = (TransientObject) ObjectUtils.get1stOrNull(serverDao.query(query));
          if(to==null){
              return null;
          } else {
              return to(Credentials.class, to);
          }
      }