chg: added logic to handle non 200 http responses and changed logic condition...
chg: added logic to handle non 200 http responses and changed logic condition to if/else when active token is present
chg: added logic to handle non 200 http responses and changed logic condition to if/else when active token is present