Added form validation to the signup page