My chat with registration (nodejs)