added default avatar image and logic