client dynamic registration example