add auth-call to templates