modularized client registration route