Add a config.json option for enabling registration, don't link and redirect away from register page when it's disabled.