refactory registration read model.