Present implementation stores the identity of the user thus making changes in identity tougher to be propagated.
Ideally we would have a function that hooks onto a central map that associates a user id to the identity of the user and thus having a centralized model for identity.