Appointment of HOD of RDU is illegal