apply template to login.jsp