use respond_with instead of custom action handling stuff
using rails default respond_with instead of custom rendering everywhere