Removing the identity document, changing user document field

Removed identity document, renamed LastConnection field to LastLogin on the user document and added a database migration to change that.
Doesn't the Login procedure handle unit and machine agents as well?