Fixed error in login template