added appID to data model for applications.