Fix Issues in in-active page.

Fix issues in in-active page like username not seen correctly and logout button is missing.