Created the validations for contact