protected void FanLogin()
    {
        FanLoginRegistrationServiceReference.FanLoginRegistrationServiceClient flrsc = new FanLoginRegistrationServiceReference.FanLoginRegistrationServiceClient();

        int key2 = flrsc.FanLogin(FanUserNameTextBox.Text, FanPasswordTextBox.Text);

        if (key2 != -1)
        {
            //FanErrorLabel.Text = "You Are Welcome!";
            Session["userKey"] = key2;
            Response.Redirect("~/ListAll.aspx");
        }
        else
        {
            FanErrorLabel.Text = "Login Failed";
        }
    }
    protected void SubmitFan()
    {
        FanLoginRegistrationServiceReference.FanLoginRegistrationServiceClient flrsc = new FanLoginRegistrationServiceReference.FanLoginRegistrationServiceClient();

        FanLoginRegistrationServiceReference.FanLite flite = new FanLoginRegistrationServiceReference.FanLite();

        flite.FanName = FanNameTextBox.Text;
        flite.FanEmail = FanEmailTextBox.Text;
        flite.FanUsername = FanUserNameTextBox.Text;
        flite.FanPassword = FanPasswordTextBox.Text;

        int result = flrsc.FanRegistration(flite);

        if (result != -1)
        {
            FanRegisterLabel.Text = "Registration is successful";

        }
        else
        {

            FanRegisterLabel.Text = "Registration failed";
        }
    }