add routing for posts and threads