Registration view model. Small code changes.