Added code for avatar picture url attempt.