Atomic commit of system with ajax routing and claim functions