updated entity sample app with UI