adding courses controller
fixing indentations