public void LoginComplete(System.Net.HttpStatusCode statusCode, string statusDescription)
        {
            switch (statusCode)
            {
            // if we received No Content, we're logged in
            case System.Net.HttpStatusCode.NoContent:
            {
                // validate that they're ok to use this app.
                RockApi.Get_People_ByUserName(UserNameField.Text, ProfileComplete);
                break;
            }

            case System.Net.HttpStatusCode.Unauthorized:
            {
                // allow them to attempt logging in again
                SetUIState(LoginState.Out);

                // wrong user name / password
                FadeLoginResult(true);
                LoginResult.Text = Strings.General_Login_Invalid;
                LoginResult.SizeToFit( );
                break;
            }

            case System.Net.HttpStatusCode.ResetContent:
            {
                // allow them to attempt logging in again
                SetUIState(LoginState.Out);

                LoginResult.Text = "";

                break;
            }

            default:
            {
                // allow them to attempt logging in again
                SetUIState(LoginState.Out);

                // failed to login for some reason
                FadeLoginResult(true);
                LoginResult.Text = Strings.General_Error_Message;
                LoginResult.SizeToFit( );
                break;
            }
            }
        }