void AsyncNewUserComplete(UserAccess.UserAsyncResult loginResult)
        {
            SetBusyState (false);

            if (loginResult.User != null)
            {
                HideLoginScreen ();
                this.CurrentUser = loginResult.User;
                this.TableView.ReloadData ();
                this.SetEditing (true, false);
                return;
            }

            using (UIAlertView alert = new UIAlertView ("Error", "User creation failed.  Try another username", null, "Close", null))
            {
                alert.Show ();
            }
        }
        void AsyncLoginComplete(UserAccess.UserAsyncResult loginResult)
        {
            SetBusyState (false);

            if (loginResult.User != null)
            {
                HideLoginScreen ();
                this.CurrentUser = loginResult.User;
                this.TableView.ReloadData ();
                this.SetEditing (false, false);
                return;
            }

            UIActionSheet actionSheet = new UIActionSheet ("Login Failed");
            actionSheet.AddButton ("Retry");

            actionSheet.AddButton ("Register New User");

            actionSheet.Clicked += (object sender, UIButtonEventArgs e) => {
                if (e.ButtonIndex == 1)
                {
                    ChangeMode (Mode.NewUser);
                }
            };

            actionSheet.ShowInView (_loginView);
        }