minor fix but now able to logout from all pages