enable / disable registration