adding mongo configuration