Adding delete photo functionality