add auth to ref command