Added password encrypting.