made all the validations and tests for contact inquiry