when the user logout on one page ,it will return the login page on the other page