added encrypting to mongo repository, changed password encryptor, added warnings for various values