Adding routes and data for posts