Revert "Revert "add LastUpdated field""

This reverts commit 86abec71955f658666ca7bacf0812e91cd4009b0.
Revert "Revert "add role model and role repository""

This reverts commit 8a0e8995b4e5e78d97071f50413ba9e0e2729109.