protected void Page_PreRender(object sender, EventArgs e)
 {
     //Generate drop down list
     if (Session["LoggedInUserId"] != null)
     {
         themeClass = new ThemeClass(ThemeDropDownList);
         themeClass.run();
     }
     else
     {
         ThemeDropDownList.Visible = false;
     }
 }
 //If the session has the information about the theme, then use it
 //otherwise check if from the ThemeClass
 public void loadTheme()
 {
     if (Session["themeId"] != null)
     {
         this.Theme = Session["themeId"].ToString();
     }
     else
     {
         ThemeClass themeClass = new ThemeClass();
         themeClass.findUserTheme();
         this.Theme = themeClass.getUserThemeId();
     }
 }