added validations to users and survey models