adding mongo logging