improved signup form validation