SetAccestoken method