added isValidProject() to check all projects befor uploading it