Change the avatar url structure and add the support for a default image.