add some logging into the router register