anchor.diff:                              {<<"POST">>, post}
                              ]).
   
  --define(PATHMAPPING, [
  -                      {?CONFIG(ep_redirect), ep_redirect},
  -                      {?CONFIG(ep_return), ep_return},
  -                      {?CONFIG(ep_user), ep_user}
  -                     ]).
  -
   -define(QSMAPPING, [
                      {<<"action">>, action, value},
                      {<<"request">>, request},
  
positive.code:             #state{req_map=ReqMap} = State) ->
      Cookie = maps:get(cookie, Result, clear),
      {ok, Req2} = perform_cookie_action(Cookie, Req, ReqMap),
      create_redirection(Header, Req2, State).
  
  
  
  create_redirection(Header, Req, State) ->
      {ok, Req2} = cowboy_req:reply(302, Header, Req),
      {ok, Req2, State}.
  
  show_html(Body, Status, Req, State) ->
      Req2 = cowboy_req:set_resp_body(Body, Req),
  
negative.code: 
      {ok, Session} = tts_session_mgr:get_session(CookieSessionId),
      {ok, SessionId} = tts_session:get_id(Session),
      AtomMethod = map_to_atom(Method, ?HTTPMETHODMAPPING),
      BodyQsMap = create_map_from_proplist(BodyQsList),
      UserAgent = get_header(<<"user-agent">>, Headers),
      LoggedIn = is_logged_in(UserAgent, PeerIP, Session),
      ReqMap = #{
        method => AtomMethod,
        session => Session,
        session_id => SessionId,
        logged_in => LoggedIn,
        body_qs => BodyQsMap
       },
      {ok, Req99, #state{req_map = ReqMap, config_loaded = true,
  