Added routing for register