adding the registration window