adding option to disallow self registration