login template and login links implemented