Marked up the vie to add activity indicators and error states