Deleting all associated sessions when chatroom is destroyed and refactoring topic model