swtiches to postgres for heroku, updates route to point to index for posts