Remove logger variable and allow object initialization without credentials