hid logout button in pre-login views