added menu, connected socket.io