added changes in registration process