anchor.diff:          Body -> Body
       end.
   
  -is_authorized_message(not_member_of_org, User, Org) ->
  +is_authorized_message(Type, User, Org) when Type =:= not_member_of_org;
  +                                            Type =:= bad_sig ->
       Msg = iolist_to_binary([<<"'">>, User, <<"' not authorized to search '">>,
                               Org, <<"'.">>]),
       {[{<<"error">>, [Msg]}]};
  
positive.code: verify_request_message({not_found, org}, _User, Org) ->
      Msg = iolist_to_binary([<<"organization '">>, Org,
                              <<"' does not exist.">>]),
      {[{<<"error">>, [Msg]}]}.
  
  
  error_json(bad_sig) ->
      {[{<<"error">>, [<<"bad signature">>]}]};
  error_json(no_cert) ->
  %% {\"error\":[\"Failed to authenticate as seth-xxx-yyy. Ensure that your node_name and client key are correct.\"]}"}
      {[{<<"error">>, [<<"user, client, or organization not found">>]}]};
  error_json({missing_headers, Missing}) ->
      {[{<<"error">>,
                 [<<"missing auth headers">>]},
                {<<"missing_headers">>, Missing}]};
  error_json(bad_clock) ->
      {[{<<"error">>, [<<"check clock">>]}]};
  error_json(bad_sign_desc) ->
      {[{<<"error">>, [<<"bad signing description">>]}]};
  error_json(_) ->
      {[{<<"error">>, [<<"problem with headers">>]}]}.
  
  allowed_methods(Req, State) ->
      {['GET'], Req, State}.
  
negative.code:                             <<"' does not exist.">>]),
      {[{<<"error">>, [Msg]}]}.
  
  resource_exists_message(org_not_found, Org) ->
      Msg = iolist_to_binary([<<"organization '">>, Org,
                              <<"' does not exist.">>]),
      {[{<<"error">>, [Msg]}]}.
  
  verify_request_message({not_found, client}, User, _Org) ->
      Msg = iolist_to_binary([<<"Failed to authenticate as '">>, User, <<"'. ">>,
  