update routing register and login templates