secure mode added to configuration