having trouble structuring code properly with more than one OAuth