Hi Terry, I allow users to set pick the theme from a drop list on a settings form. When they log in I set the Theme. I decided not to allow them to change the menu but I think the code would work.
p_web.SetValue('_theme_',L:Theme)
p_web.ChangeTheme()
p_web.SetValue('_menu_',L:MenuType)
!p_web.ChangeMenu()