node.js How recieve field value? : with node.js i create server. Than i build http form on the specific adress(i gona do diferent form for diferent adress). 
I want to recieve data from the user in specific field(i give them diferent ID). 

But I cant recieve it like:
document.getElementById()  becouse DOM in node.js undefined.

So. Can you advise a specific module for solving this problem, or some usefull method?

    var server = new http.Server(function(req, res){
    if (req.url=='/') {
          res.statusCode=200;
          auth(res);
          res.end();
    } else {
          res.statusCode=404;
          res.end("Page not found");
            }
    
    })

 
     function auth(res) {

         res.writeHead(200, {
             'Content-Type': 'text/html',

         });

         var body = '';

         body= '<form action="/" method="post">'+
             '<thead>Connection details </thead>' +
             '<br>'+
             '<textarea id ="text" name="text" rows="1" cols="50"></textarea><br>'+
             '<input value="localhost" id="host">Host</input><br>' +
             '<input value="root" id="user">User  </input><br>' +
             '<input value="********" id="pass">Pasword   </input><br>' +
             '<input type="submit" value="Connect" id="scheme"></input><br></body></html>'




         var toWrite =  header  + body;
     
      res.write(toWrite);
