improving login template translation