title: Redirect user after submit in node js
body: <p>I'm new to node and mongodb , i want to display data after submit form but i got blang page .<br>
  <strong>app.js</strong>  </p>
  
  <pre><code>app.post("/new", function(req, res){
      new user({
          _id : req.body.email,
          name: req.body.name,
          age : req.body.age
      }).save(function(err, doc){
              if(err){
                  res.json(err);
              }else{
                  res.redirect("/view");
              }
          });
      console.log(res);
  
  });
  
  app.get("/view", function(req, res){
      user.find({}, function(err, doc){
          if(err)  res.json(err)
          else     res.render("view", {users:doc});
      });
  });  
  </code></pre>
  
  <p>in <strong>view.jade</strong>  </p>
  
  <pre><code>extends layout
  ul
  each user in users
      li #{user.name}  
  </code></pre>
  
  <p>in view.jade i got nothing, even html tag in body .</p>