updates to finish authentication