added form validation on teams and leagues