Added getIdentity() to the user entity and mapper