anchor.diff:          ]).
   
   -export([
  -         user_get_pid/1,
  +         user_lookup_id/1,
  +         user_insert_mappings/1,
            user_delete_mappings/1,
  +         user_get_data/1,
  +         user_insert_data/3,
  +         user_delete_data/1,
            user_inspect/0,
  -         user_insert_mappings/1
  +         user_mapping_inspect/0
           ]).
   
   -export([
  
positive.code: 
  % functions for user management 
  
  -spec user_insert_mappings([{ID :: binary(), Pid :: pid()}])  -> ok | {error, Reason :: atom()}.
  user_insert_mappings(Mappings) ->
      return_ok_or_error(insert_new(?TTS_USER,Mappings)).
  
  
  -spec user_get_pid(ID :: binary()) -> {ok, Pid :: pid()} | {error, Reason :: atom()}.
  user_get_pid(Id) ->
      validate_pid_value(lookup(?TTS_USER,Id)).
  
  -spec user_delete_mappings([ID :: binary()]) -> true.
  user_delete_mappings([]) ->
      true;
  user_delete_mappings([Id | T]) ->
      delete(?TTS_USER,Id),
      user_delete_mappings(T).
  
  
  -spec user_inspect() -> ok. 
  user_inspect() ->
      iterate_through_table_and_print(?TTS_USER).
  
  
  
  % functions for oidc management
  -spec oidc_add_op(Identifier::binary(), Description::binary(), ClientId ::
  
negative.code: -define(TTS_SESSIONS,tts_sessions).
  -define(TTS_OIDCP,tts_oidcp).
  -define(TTS_USER,tts_user).
  -define(TTS_USER_MAPPING,tts_user_mapping).
  
  -define(TTS_TABLES,[
                      ?TTS_SESSIONS,
                      ?TTS_OIDCP,
                      ?TTS_USER_MAPPING,
                      ?TTS_USER
                     ]).
  
  