added resources: posts to routes