Updated the registration process