A secure distributed event layer for nodejs applications