update login_required to support check_auth
Merge pull request #1 from zghember/master

update login_required to support check_auth
Merge pull request #4 from YuelianINC/master

Added auth check