app.post('/register', passport.authenticate('local-signup', { failureRedirect: '/register' }), 
  function(req, res) {
    res.redirect('/3219');
  });