server subscribes topic when chatroom is connected