I am trying to get the customerid for user admin?
I am getting 0
This is the page I am going to if the user is valid.


protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                Customer customer = this.CustomerService.GetCustomerById(this.CustomerId);
                if (customer == null || customer.IsGuest)
                {
                    Response.Redirect(CommonHelper.GetStoreLocation());
                }

                if (!this.CustomerService.AllowViewingProfiles)
                {
                    Response.Redirect(CommonHelper.GetStoreLocation());
                }

                string name = customer.FormatUserName();
                //lTitle.Text = string.Format(GetLocaleResourceString("Profile.ProfileOf"), Server.HtmlEncode(name));
            }

            string title = GetLocaleResourceString("PageTitle.Profile");
            SEOHelper.RenderTitle(this, title, true);
        }

        public int CustomerId
        {
            get
            {
                return CommonHelper.QueryStringInt("UserId");
            }
        }

    }