add api and UI for creating a new topic