Updated routes and permissions.