implemented socket.io communication to broadcast to the clients connected when a note was added.