added in the photo json routes