         in the format `{message: "logged out"}` with a `200` status code.
        """
       def logout(conn, _) do
-        fetch_session(conn)
-        |> delete_session(:current_user)
-        |> put_status(200)
-        |> json %{message: "logged out"}
+        {conn, message} = SessionInteractor.logout(conn)
+        json conn, message
       end
 
       @doc """

        On success, it also logs the new user in.
      """
      def register(conn, user_params) do
        @manager.create(user_params)
        |> do_register(conn)
      end

      @doc """

      use Phoenix.Controller

      @manager Application.get_env(:addict, :manager) || Addict.ManagerInteractor
      alias Addict.SessionInteractor
      plug :action

      @doc """
