Updating user.identity to use utils extension rather than json