implement dealer register api