added user and survey validations