updated login template to reflect preferences