modified oauth SDK popup trigger
added User Agent Header