ability to disable registration, with parameter allowRegistration:false in config file