Got rid of app.router deprecated error