Private chat application in nodejs