add register on controller methods in router and instanvce