if (Membership.ValidateUser(TextBox1.Text, TextBox2.Text) {
   FormsAuthentication.RedirectFromLoginPage(TextBox1.Text.ToString(), false);
}
else {
   Label1.Text = "You are not registered with the site.";
}
