internal bool CustomerSignUp()
        {
            da = new DataAccess();
            bool isLoginSuccessful = false;

            try {
                CUSTOMER_PROFILE Profile = new CUSTOMER_PROFILE();
                Profile.CUST_ID         = Guid.NewGuid();
                Profile.FIRST_NAME      = this.FIRST_NAME;
                Profile.LAST_NAME       = this.LAST_NAME;
                Profile.GENDER          = this.GENDER;
                Profile.ADDRESS         = this.ADDRESS;
                Profile.EMAIL           = this.EMAIL;
                Profile.PHONE_NO        = this.PHONE_NO;
                Profile.PASSWORD        = this.PASSWORD;
                Profile.CONFIRMPASSWORD = this.CONFIRMPASSWORD;
                Profile.STATUS          = this.STATUS;

                isLoginSuccessful = da.CustomerSignUp(Profile);

                if (isLoginSuccessful)
                {
                    SessionUser user = new SessionUser()
                    {
                        UserID    = Profile.CUST_ID,
                        FirstName = Profile.FIRST_NAME,
                        LastName  = Profile.LAST_NAME,
                        Email     = Profile.EMAIL,
                        PhoneNo   = Profile.PHONE_NO,
                        Status    = Profile.STATUS
                    };

                    SessionHandler.User = user;
                    SessionHandler.AddToCookie(user);
                }
            }
            catch
            {
                isLoginSuccessful = false;
            }
            return(isLoginSuccessful);
        }
        public ADMIN_PROFILE AdminLogin()
        {
            da = new DataAccess();
            ADMIN_PROFILE profile = da.AdminLogin(this.EMAIL, this.PASSWORD);

            if (profile != null)
            {
                SessionUser user = new SessionUser()
                {
                    UserID    = profile.USER_ID,
                    FirstName = profile.FIRST_NAME,
                    LastName  = profile.LAST_NAME,
                    Email     = profile.EMAIL,
                    PhoneNo   = profile.PHONE_NO,
                    Status    = profile.STATUS
                };

                SessionHandler.User = user;
                SessionHandler.AddToCookie(user);
            }
            return(profile);
        }