Implemented the new database interface into the professor pages.
Added new functions to the interface.