Modified new course teacher routes/views and to controller