Changes in Register.cs