adding some more form validation