Edit register system and add email confirmation.