Ading routes for deactivate and flag for app.js