Add user password hashing and email validation methods