added the login.logout to more pages