Implementing addnewprofessor.php