Fixed professorcontroller and studentcontroller to be able to compile.