protected void btChangeProfSave_Click(object sender, EventArgs e)
        {

            hfTab.Value = "home";
            Employee emp = new Employee();
            emp.EmployeeId = Session["EmployeeId"].ToString();
            emp.FirstName = tbFirstName.Text;
            emp.LastName = tbLastName.Text;
            emp.Email = tbEmailId.Text;
            string pass = tbChangeProfPass.Text;
            string hashedPassword = AppSecurity.HashSHA1(pass + Session["USER_GUID"].ToString());
            DataAccessLayer dal = new DataAccessLayer();
            int? ret = dal.UpdateAccountInfo(emp, hashedPassword);
            switch (ret)
            {

                case 1:
                    {
                        // update session information
                        Session["FirstName"] = emp.FirstName;
                        Session["LastName"] = emp.LastName;
                        Session["EMAIL"] = emp.Email;
                        ((Label)Master.FindControl("lbUserName")).Text = emp.FirstName + " " + emp.LastName;
                        //show success message
                       
                        editAlert.Style.Add("display", "inline");
                        editAlert.Attributes.Add("class", "alert-success");
                        editAlert.InnerText = "Account Information Successfully Updated";
                    } break;
                case -1:
                    {
                        //invalid password
                        editAlert.Style.Add("display", "inline");
                        editAlert.Attributes.Add("class", "alert-danger");
                        editAlert.InnerText = "Incorrect Password";
                                                
                    }
                    break;
                case 0:
                    {
                        //invalid password
                        editAlert.Style.Add("display", "inline");
                        editAlert.Attributes.Add("class", "alert-danger");
                        editAlert.InnerText = "Database Error Occured. Information could not be saved.";

                    }
                    break;
            }
        }