api call to confirm account