             valid = false
 
           if valid
-            front.auth {'account': 'marak', 'password': 'foo'}, (err, result) ->
-              # If there is a valid socket.id in the current list of server sockets
-              if (typeof message.sid is 'string' and typeof engineIOServer.clients[message.sid] is 'object')
-                # Send the message
-                engineIOServer.clients[message.sid].send(JSON.stringify(message, true))
+            # If there is a valid socket.id in the current list of server sockets
+            if (typeof message[1].sid is 'string' and typeof engineIOServer.clients[message[1].sid] is 'object')
+              # Send the message
+              engineIOServer.clients[message[1].sid].send(JSON.stringify(message, true))
 
           callback null, server
            message = err.message

          if valid
            message.sid = socket.id
            wsClient.send JSON.stringify(message)
          else
            logger.warn 'invalid message - not relaying to api server'
            socket.send message

    # Default front.start options
    options.port = options.port || 3000
    options.host = options.host || "0.0.0.0"
    options.apiEndpoint = options.apiEndpoint || "ws://0.0.0.0:3001"

    express = require('express')
    connect = require('connect')
