add auth to batch