fixed logout, took fs and path out of package.json (they are core modules)