Fix sync handler.
Add storage listener to UserIdentity.