add routes and PostsController