added delete functionality to topics, posts, and comments