tweaked security to allow for registration