updated to pass auth data