added instagram logic for getting auth token