fix tab bar issue in log out