adding settings rules, and user self registration