moved createUser func out of class, createErrorArgs returns None if no errors