Fixed persistent logins when page is refreshed
Merge pull request #32 from marklee22/master

Fixed persistent logins