added a route for posts