jwt should be declared with var