Adding socket.io and mongodb connections for real-time tech