add sha1 for password security

add sha1 for password security