Fix broken form on submit page
Fix res.session