Reconfigured the app so it would stop crashing for the app.route