anchor.diff:               {stop, Reason :: term()} | ignore).
   init([]) ->
       em_logger:info("Init users manager"),
  -    Cache = ets:new(users, [set, private, {keypos, 1}]),
  +    Cache = ets:new(users, [set, private, {keypos, 2}]),
       {ok, Users} = em_storage:get_users(),
  -    lists:foreach(fun(User) -> ets:insert(Cache, User) end, Users),
  +    lists:foreach(fun(User) ->
  +                    %%em_logger:info("Loading user ~s", [User#user.name]),
  +                    ets:insert(Cache, User)
  +                  end, Users),
       em_logger:info("Loaded ~w user(s)", [length(ets:tab2list(Cache))]),
       {ok, #state{cache = Cache}}.
   
  
positive.code: 
  -export([
           get/0,
           check/2
          ]).
  
  
  
negative.code: 
  do_get_users(State = #state{cache = Cache}) ->
      {reply, ets:tab2list(Cache), State}.
  
  do_create_user(State = #state{cache = Cache}, User) ->
    case em_storage:create_user(User) of
      {ok, User} ->
        case ets:insert(Cache, User) of
          true -> {reply, {ok, User}, State};
          false -> {reply, {error, <<"Error sync in users cache">>}, State}
        end;
      Reason ->
        {reply, Reason, State}
    end.
  
  do_update_user(State = #state{cache = Cache}, User) ->
    case em_storage:update_user(User) of
      {ok, User} ->
        case ets:insert(Cache, User) of
          true -> {reply, {ok, User}, State};
          false -> {reply, {error, <<"Error sync in users cache">>}, State}
        end;
      Reason ->
        {reply, Reason, State}
    end.
  
  do_delete_user(State = #state{cache = Cache}, User) ->
    case em_storage:delete_user(User) of
      {ok, User} ->
        case ets:delete_object(Cache, User) of
          true -> {reply, {ok, User}, State};
          false -> {reply, {error, <<"Error sync in users cache">>}, State}
        end;
      Reason ->
        {reply, Reason, State}
    end.
  
  %% em_manager_users:check(<<"demo">>, <<"demo">>).
  do_check_user(State = #state{cache = Cache}, Email, Password) ->
  