enabled form validation in index ejs