updated identity model and controllers spec