Diagram showing the app flow described below