updated to nest 1.x-beta, identity 2.x