bumpfich,
You can register online while in the UK or when you arrive in the US, but we recommend registering before coming over to the US.
You can get more details in this thread:
TSA Training Rule
Happy Flying,
Capt. Richard J. Gentil, Pres.
Naples Air Center, Inc.