add config option to disable user agent session checks