useres can delete photos from database