immediately update when user log in or log out
Merge pull request #48 from plrthink/master

immediately update when user log in or log out