When userId is null then return anonymous, otherwise try to obtain the
display name.