creating chat nodejs