Merge pull request #15 from paulyi326/dev

implemented isLoggedIn()
oauth should now work if running in cordova