logout when back button of browser is clicked on selectPage