if username is null, fall back on displayName or firstName + lastName