Attempting to fix logout