added salts to methods that generate keys from the password, and implemented identity creation