Replaced the User foreign key with the name.
Hack for anon users.