add fields into login template