added event deletion functionality