Identity management

It is a work in progress.