It would be really great to store the token in the database....

Use JUser instead of JTableUser directly

Refactoring the approach a bit