updated server.coffee