Token generation added