implemented changing passwords, and started to clear out memory that held private keys for security purposes