update the login verify function
Merge pull request #16 from ycj28c/master

update the login verify function