isLoggedIn modify
null -> 'null'
Merge pull request #26 from r2fresh/loginCheck

value of the results of the 'isLoggedIn' function is not good.