got encoded token working as well as api calls for org data