add Password Encryption
fix some bug