Resource, User models

Change-Id: I759e25bbff84c7b81aed31ed20c7959cc808eba1