upgrade identiy management

Vecrorize identity as well as various bug fixes...