anchor.diff:  -export([terminate/2]).
   -export([code_change/3]).
   
  --record(state, {
  -}).
  -
   %% API.
   
   -spec start_link() -> {ok, pid()}.
  
positive.code: 
  
  sync_insert_new_user(UserInfo) ->
      UserIdList = maps:get(user_ids,UserInfo,[]),
      UserId = maps:get(uid, UserInfo),
      case add_new_user_entries(UserIdList,UserId,UserInfo) of
          ok -> 
              {ok, UserId};
          {error, already_exists} ->
  
negative.code: get_user_info(UserId) ->
      retrieve_user_info(UserId).
  
  
  
  -record(state, {
  }).
  
  %% gen_server.
  -include("tts.hrl").
  
  init([]) ->
  	{ok, #state{}}.
  