D'oh.  Then I realised that I don't need UserIdentity at all - so got rid of it