add recommended code for creating & storing the App or Phone UUID
remove some old loggin code