sets avatar image if no image is provided