add last_action field to user object

This enhancement allows to export the last_action field for user objects.