logout and check access page if login
Merge pull request #2 from tranluan91/logout_auth

logout and check access page if login