adding mongodb auth.