implemented isLoggedIn()
Merge pull request #15 from paulyi326/dev

implemented isLoggedIn()