add base ui controller class