add validation to code
Merge branch 'dev' of https://github.com/CruGlobal/CruOrg into dev