Added the logout feature for the professor with the votes display in
graph form