moved the app.router to the bottom