Code for the cloud user interface