Updated RegistrationWindow and ChatWindow