anchor.diff:  
           AccToken -> {ok, AccToken, JSON}
       end.
  +
  +
  +-spec id_from_path(ReqData::tuple()) -> string().
  +id_from_path(ReqData) ->
  +    case api_help:parse_path(wrq:path(ReqData)) of
  +        % [error]               -> undefined;
  +        [{"users", Id}]       -> string:to_lower(Id);
  +        [{"users", Id}, _]    -> string:to_lower(Id);
  +        _                     -> undefined
  +    end.
  
positive.code: 
  -spec get_user_model(ReqData::tuple(), State::string()) -> {list(), tuple(), string()}.
  get_user_model(ReqData, State) ->
      case api_help:id_from_path(ReqData) of
          undefined -> % Get all users
              case wrq:get_qs_value("size",ReqData) of
                  undefined ->
  
negative.code:         {ok, _} ->
              case api_help:is_subs(ReqData) or api_help:is_unsubs(ReqData) of
                  false ->
                      Id = id_from_path(ReqData),
                      {UserJson,_,_} = api_help:json_handler(ReqData, State),
                      %check if doc already exists
                      case {api_help:do_any_field_exist(UserJson,?RESTRCITEDUPDATEUSERS),api_help:do_only_fields_exist(UserJson,?ACCEPTEDFIELDSUSERS)} of
  