added register template, modified login template