add delete Method and delete photo resources