fixed package.json
added generate and getToken