Giving ability to turn secure mode on and off