added possibility to encrypt and change password