Dynamically Disable User Registration

fixes #547