Simplify terminals controller using   load_and_authorize_resource/respond_with