add getAvatarURL function in utils