wanted categories is a mess - it wont pickup changes done in the admin until you restart the server, I believe it does it once when the parent class is first initialised
turning off set trace
fixed profile details so it picks up the username