                 socket.broadcast.emit "url_data", data
 
           io.to(default_chat_id).emit "save_chat_message", result
-          #socket.broadcast.emit "save_chat_message", result
 
     socket.on "load_topic", (data) ->
       chat

  imgur = require("./models/imgur")
  users = require("./models/user")
  Q = require("q")
  #require "shelljs/global"

  io.use (socket, next) ->
    sessionStore socket.request, socket.request.res, next


  default_chat_id = "chat-123"


        .create(data)
        .then (result) ->
          io.to(default_chat_id).emit "room_created", result

    socket.on "signup", (data) ->
      error = (error) ->
