further optimize

prevents getPortraitURL call if already called previously