Add intermediate page if you visit a page that requires login