Trying to fix logout