added search by professor to course model