User data model with rest api for saving sample data