Added SHA-1 password hashing