Changed print statements to logger_debug.
Implemented reset passphrase functionality.