Added generate token