added getPhotos and delete Photos