updated stubs, added sample and test case for reauthorization.