protected void btnSignIn_Click(object sender, EventArgs e)
        {
            string username = txtUsername.Text;
            string pword    = txtPWord.Text;

            bool success = Membership.ValidateUser(username, pword);

            if (!success)
            {
                lblMessage.ForeColor = Color.Red;
                lblMessage.Text      = "Username and/or Password not found.";
            }
            else
            {
                MembershipUser user = Membership.GetUser(username);

                wFunctions.SetUserSessionVars(user);
                if (chkRememberMe.Checked)
                {
                    wFunctions.SetUserCookie(user);
                }

                wFunctions.SetLoginType(user);

                Response.Redirect("/pages_dynamic/home.aspx");
            }
        }