add category routes and fix visitor show redirect for non published posts