added delete functionality, although it shows the delete option for every user (even when it is not there image) only the owner may delete the picture itself.