protected void Page_Load(object sender, EventArgs e)
 {
     if (Request.IsSecureConnection)
     {
         if (Session["AccountStatus"].Equals("AdminAccount"))
         {
             gridProducts.DataSource = ProductItem.getAllProducts();
             gridProducts.DataBind();
         }
         else
         {
             Response.Redirect("~/UL/Error");
         }
     }
     else
     {
         string url = ConfigurationManager.AppSettings["SecurePath"] + "AdminProductManagement";
         Response.Redirect(url);
     }
 }