validation for project and visits