basic form validation and styling for account form