use -var in sub template to pass value to layout, and use express-form to validata form data