base controller for theming