auto login and goto other pages.