Added offline mode for patients
Added a spinner in step 1 to indicate loading