added a conditionals to govern when the edit and delete links show for the picture and picture comments