         push socket, "code:update", %{html: html2, selector: ~s(.user-card-room[data-status-name="#{user.username}"]), action: "html"}
       end
     else
-      # warn event, payload, "closed"
+      # debug event, payload, "closed"
     end
     {:noreply, socket}
   end
 
   def handle_info(%Broadcast{topic: _, event: "user:action" = event, payload: %{action: "removed"} = payload}, %{assigns: assigns} = socket) do
-    warn event, payload, "assigns: #{inspect assigns}"
+    debug event, payload, "assigns: #{inspect assigns}"
     current_user = Helpers.get_user! assigns.user_id
     user = Helpers.get_user! payload.user_id
     if Flex.open? assigns.flex, assigns.channel_id, "Members List" do
-      warn event, payload, "removed open"
+      debug event, payload, "removed open"
 
       push socket, "code:update", %{selector: ~s(.user-card-room[data-status-name='#{user.username}']), action: "remove"}
       push socket, "code:update", %{selector: ".flex-tab-container .user-view", action: "addClass", html: "animated-hidden"}
     else
-      warn event, payload, "closed"
+      debug event, payload, "closed"
     end
     {:noreply, socket}
   end
   def handle_info(%Broadcast{topic: _, event: "user:action" = event, payload: %{action: "unhide"} = payload}, %{assigns: assigns} = socket) do
-    warn event, payload, "assigns: #{inspect assigns}"
-    # current_user = Helpers.get_user! assigns.user_id
-    # user = Helpers.get_user! payload.user_id
+    debug event, payload, "assigns: #{inspect assigns}"
 
     UserSocket.push_rooms_list_update(socket, payload.channel_id, payload.user_id)
 
-    # if Flex.open? assigns.flex, assigns.channel_id, "Members List" do
-    #   warn event, payload, "removed open"
-
-    #   push socket, "code:update", %{selector: ~s(.user-card-room[data-status-name='#{user.username}']), action: "remove"}
-    #   push socket, "code:update", %{selector: ".flex-tab-container .user-view", action: "addClass", html: "animated-hidden"}
-    # else
-    #   warn event, payload, "closed"
-    # end
     {:noreply, socket}
   end
   def handle_info(%Broadcast{topic: _, event: "user:entered" = event, payload: %{user: user} = payload}, %{assigns: %{user: user} = assigns} = socket) do
-    warn event, payload, "assigns: #{inspect assigns}"
+    debug event, payload, "assigns: #{inspect assigns}"
     old_channel_id = assigns[:channel_id]
     channel_id = payload[:channel_id]
     socket = %{assigns: assigns} = assign(socket, :channel_id, channel_id)

  end

  def handle_info({:flex, :open, ch, tab, nil, params} = msg, socket) do
    warn inspect(msg), "nil"
    resp = FlexBarService.handle_flex_callback(:open, ch, tab, nil, socket, params)
    push socket, "flex:open", Enum.into([title: tab], resp)
    {:noreply, socket}
  end
  def handle_info({:flex, :open, ch, tab, args, params} = msg, socket) do
    warn inspect(msg), "args"
    resp = FlexBarService.handle_flex_callback(:open, ch, tab, args[tab], socket, params)
    warn "resp: #{inspect resp}", ""
    push socket, "flex:open", Enum.into([title: tab], resp)
    {:noreply, socket}
  end
  def handle_info({:flex, :close, _ch, _tab, _, _params} = msg, socket) do
    warn inspect(msg), ""
    push socket, "flex:close", %{}
    {:noreply, socket}
  end

      |> Repo.update
      |> case do
        {:ok, _} ->
          push socket, "window:reload", %{}
          {:ok, %{}}
        {:error, _} ->
