added autoregister method for domain registration