add last_action field to user object