added a router for the nodejs server