display logout button only when on hosted service