add validation to course admin view