added mongoose configs here