fixing logout button display