Fixed checking login state is wrong.
To submit
Fetch remote. Merge remote-tracking branch 'origin/master'