updating to new auth working api