decoder: function(data, status, xhr, success, error) {
            if (status === 'success') {
              success(data, xhr);
            } else if (status === 'fail' || status === 'error') {
              error(xhr.statusText);