added register route, etc