[refactor]use PhotosService for photos_controller