fixed app.router is deprecated as we are no longer using it