improved styling and form validation