Quindi tu ti salvi l'id dell'user e il md5(timestamp)?

E con quel timestamp che fai?

Grazie per l'atttenzione.