auth and routing system debug and upgrade