added styling to all pages along with form validation