protected void Button2_Click(object sender, EventArgs e)
    {
        int role = 0;

        if (!RadioButton2.Checked && RadioButton1.Checked) { role = 1; }

        if (TextBox2.Text.Equals("") || TextBox3.Text.Equals("") || ReEnterPassword.Text.Equals("") ||
            (!RadioButton1.Checked && !RadioButton2.Checked) )
        {
            WarningLabel.Text = "Your Response is incomplete";
        }
        else
        {
            LoginModule myLogin = new LoginModule();
            if (TextBox3.Text == ReEnterPassword.Text)
            {
                WarningLabel.Text = myLogin.createAccount(TextBox2.Text, TextBox3.Text, EmailTextBox.Text, role);
            }
            else
            {
                WarningLabel.Text = "Passwords don't match!";
            }

        }
    }