Added mongodb authentication