added a password encryption for user passwords