         }
 
   defstruct store: %{},
-            session: %{},
             commander: nil,
             commanders: [],
             controller: nil,

  end

  # casts for update values from the state
  Enum.each([:store, :session, :socket, :priv, :topics], fn name ->
    msg_name = String.to_atom("set_#{name}")
    @doc false
    def handle_cast({unquote(msg_name), value}, state) do

  end

  # calls for get values from the state
  Enum.each([:store, :socket, :priv, :topics], fn name ->
    msg_name = String.to_atom("get_#{name}")
    @doc false
    def handle_call(unquote(msg_name), _from, state) do
