added register route.