         for clientId, clientObject of socket.clients
             if clientObject isnt client
                 console.log "Forwarding data to #{clientId}"
-                #clientObject.header('Access-Control-Allow-Origin', '*')
                 clientObject.send data

    return

server.get '/meeting/:uuid', (request, response) ->
    console.log('open meeting: ' + request.params.uuid + ' - '+ user.username );
    if user.username == 'guest' then return response.redirect '/signin'
    return fs.readFile "#{process.cwd()}/templates/meeting.html", "utf-8", (err, data) ->
        document = jsdom.jsdom data
        window = document.createWindow()
        jQ = jQuery.create window

        writeUser user, jQ

        # Write the Meeting identifier into the DOM
        jQ('[typeof="rdfcal\\:Vevent"]').attr('about', request.params.uuid);

    return

server.get '/signout', (request, response) ->
    request.session.auth.user.username = 'guest'
    request.session.destroy();
    response.redirect '/about'

