protected void RegisterFan()
    {
        RegistrationServiceReference.LoginServiceClient lsc = new RegistrationServiceReference.LoginServiceClient();
        RegistrationServiceReference.FanLite fLite = new RegistrationServiceReference.FanLite();
        fLite.FanName = FanNameTextBox.Text;
        fLite.FanEmail = EmailTextBox.Text;
        fLite.FanUserName = UserNameTextBox.Text;
        fLite.FanPassword = PasswordTextBox.Text;

        try
        {
            int result = lsc.FanRegistration(fLite);
            if (result == 1)
            {
                Response.Redirect("Login.aspx");
            }
            else
            {
                ErrorLabel.Text = "Registration not processed";
            }
        }
        catch (Exception ex)
        {
            ErrorLabel.Text = ex.Message;
        }
    }
 protected void FanLogin()
 {
     RegistrationServiceReference.LoginServiceClient lsc = new RegistrationServiceReference.LoginServiceClient();
     int key = lsc.FanLogin(UserNameTextBox.Text, PasswordTextBox.Text);
     if (key != 0)
     {
         Session["FanKey"] = key;
         ResultLabel.Text = "Welcome";
     }
     else ResultLabel.Text = "Invalid Login";
 }