refresh and sample credentials