protected void Button2_Click(object sender, EventArgs e) { LoginModule myLoginModule = new LoginModule(); EmailModule myEmailModule = new EmailModule(); myEmailModule.deleteAccountConfirmation((String)Session["userID"]); myLoginModule.deleteAccount((String)Session["userID"]); Response.Redirect("WhereIsMyJob.aspx"); }