use encryptpass to store password