More password protection

added the SHA256 hashing to some other functions that were manipulating
the password