add loading icon for avatar