add base controller