updated to work with new auth params