Added delete functionality for topics