added functionality for teachers to delete student actions