Implementing deleteprofessor.php