add some missing admin code