move /theme REST call out of the old service