fix the issue of getUserPhotos and searchPhotos in PhotosInterface