While the article overall is fine there are a few huge misinformations here.
First you dont use JWT to store and use Users data and his roles. You use JWT for 1 single purpose to validate the user. Access, roles etc are authorization which is a completely different thing. Dont mix authorization and authentication.