Update routes for register and login pages