Added user registration setting, merged back->usercontroller