add pop-up for login template