added option for user to enter thier own master key