added check if oauth already initialized