add routes to posts