admin-ui: Unify ajax requests