disabling registration