front-end of create topic