added validation for course names
form validation fixes