I followed a few Nodejs tutorials ang got through a simple REST webservice. This webservices listens /api/accounts for an email and a password, then proceeds to a lookup in a Cassandra cluster. I use EventEmitter to avoid callback hell. Everything works fine until the emit('success') is attempted :I followed a few Nodejs tutorials ang got throu