Added setaccesstoken method