added validations for survey and user
added validations for title of a survey