createUser helper added to dao.