add all page login and logout jumping logic