Fixed indenting in all HTML files. Added JS functions for the checking of correctness of fields. Added new HTML file for redirection upon successful application.