form validation on edit user