anchor.diff:       } = UserInfo,
       {ok, IoList} = CmdMod:render([{user, User },{uid, Uid},{gid, Gid},{home_dir, HomeDir}]), 
       CmdList = binary:split(list_to_binary(IoList),[<<"\n">>],[global]),
  -    {ok, State#state{cmd_list=CmdList, connection = Connection}};
  -create_command_list(_Mod, _Info, _Connection, State) ->
  -    {ok, State#state{error = connection_or_cmd_error}}. 
  +    {ok, State#state{cmd_list=CmdList, connection = Connection, con_type = ConType}};
  +create_command_list_and_update_state(_Mod, _Info, #{con_type := ConType}, _Connection, State) ->
  +    {ok, State#state{error = connection_or_cmd_error, con_type = ConType}}. 
   
   trigger_next_command() ->
       gen_server:cast(self(),execute_cmd).
  
positive.code:           action = undefined,
            client = undefined,
            service_id = undefined,
            service_info = undefined,
            user_info = undefined,
            token = undefined,
            params = undefined,
  
negative.code:     {error, unknown_cmd_mod}.
  
  
  create_command_list_and_update_state(undefined,_UserInfo, #{con_type := ConType}, _Connection, State) ->
      {ok, State#state{error = no_cmd_mod, con_type = ConType}}; 
  create_command_list_and_update_state(CmdMod, UserInfo, #{con_type := ConType}, {ok, Connection},State) when is_atom(CmdMod) ->
      #{ uid := User,
         uidNumber := Uid, 
         gidNumber := Gid,
  