build the topics db and redirect main page to topics list