delete student functionality