Identity template and view model