created listeners to set salt, encode password, and set parent document (phpcr)