set up code for possible tab bar logout button