add auth to connect mongodb