update Method to private (#209)
Add a method for password hashing (#209)