adding koa routes and postdata