added api login template