Stuck with a jquery table

Stuck with a jquery table

Hello,
I am new on this forum because I am stuck with a jquery situation.

In particular, I am finalizing my website, which sells clothing. In the product page (linked with a jquery page) a client can insert his measurements and save them. Right now they are saved through cookies, therefore when hypothetically he rejoins the website, after having saved the measurements, it appears the profile saved.

The problem is that the profile saved is not linked with the profile of the account. Therefore when someone register and create an account the opportunity to load the measurement profile disappears.

I really appreciate If someone could help me on this!!!
thanks in advance!!
Mario