adds route for posts