added default avatar and validates