moved oauth to separate file - more work on dict