set up posts router