fixed errors when usind a non-admin mongo user