anchor.diff:  							rpgb_session:set_user(Userrec, Session)
   					end,
   					{true, Req1, Ctx#ctx{session = Session1}};
  -				_ ->
  +				NotOkay ->
  +					?info("data returned invalid: ~p", [NotOkay]),
   					{false, Req1, Ctx}
   			end;
   		_ ->
  
positive.code: 
  -export([get_routes/0]).
  -export([init/3, rest_init/2, allowed_methods/2, is_authorized/2,
  	content_types_provided/2, process_post/2]).
  
  -record(ctx, {
  	hostport,
  
negative.code: 	end.
  
  content_types_provided(Req, Ctx) ->
  	?info("content types provided, method: ~p", [element(1, cowboy_req:method(Req))]),
  	Types = [
  		{{<<"text">>, <<"html">>, []}, to_html},
  		{{<<"text">>, <<"json">>, []}, to_json}
  	],
  	{Types, Req, Ctx}.
  
  content_types_accepted(Req, Ctx) ->
  	?info("content types accepted; got ~p", [element(1, cowboy_req:header(<<"content-type">>, Req))]),
  	Types = [
  		{{<<"application">>, <<"json">>, []}, from_json}
  	],
  	{Types, Req, Ctx}.
  
  