A simple chat app using websockets written in nodejs