Minor login to loginTemplate action over login