fix some bugs about jwtAuth.js