created OffersController#index for json responses