added topic creation functionality