Attempting to fix logout issue