added protected fields; added basic password hashing examples