done adding all domains from database that need to be accessed through rest_api