retrict access to CourseProfessor API
fix pep8
fix pep8