add auth to mongo connection