trying to fix logout