back-end error handling for invalid course/section when course permed