adds get and show routes for photos