login & dispatcher & router register structure.