add training register action and route.