make corrections of Dio, and move form validation scripts to specific files according to the page