creating new courses and auto-registering teachers