Added submission validate function to submission model