Change create and show to response with jsonp, and redirect with status 500 on error